package org.gdsdxy.pmmp.dao;

import java.util.List;

import org.gdsdxy.pmmp.entity.MemberBaseInfo;
import org.gdsdxy.pmmp.entity.MemberImge;

public interface IUserManagerDao {
	public MemberBaseInfo queryMemberBaseInfo(String userName, String password);
  
  public MemberBaseInfo get(Integer id);

	public List<MemberBaseInfo> queryUsers(int start, int size);
	
	public boolean saveMemberBaseInfo(MemberBaseInfo baseInfo);
	
	public boolean saveMemberImge(MemberImge imge);

	public List<MemberImge> queryImgeByUserId(Integer id);

	public List<MemberImge> queryImgeByUserIdFy(int start, int size, Integer id);

	public long getImageCountById(Integer id);

}
